﻿<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8" />
        <title>@ViewBag.Title</title>

        <script src="@Url.Content("~/Scripts/jquery-ui/jquery-1.7.2.min.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/jquery-ui-1.8.11.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/jquery.ui.core.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/ui_tabs.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/jquery.autocomplete.min.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/jquery.metadata.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/ORM.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/js-image-slider.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/tooltip.js.js")" type="text/javascript"></script>
        <link rel="stylesheet" href="@Url.Content("~/Content/themes/CustomThemes/jquery-ui-1.9.2.custom.min.css")" type="text/css" media="all" />
        <link rel="stylesheet" href="@Url.Content("~/Content/style.css")" type="text/css" media="all" />
        <link rel="stylesheet" href="@Url.Content("~/Content/site.css")" type="text/css" media="all" />
        <link rel="stylesheet" href="@Url.Content("~/Content/bookTemplate.css")" type="text/css" media="all" />
        <link rel="stylesheet" href="@Url.Content("~/Content/js-image-slider.css")" type="text/css" media="all" />
        <link rel="stylesheet" href="@Url.Content("~/Content/jquery.autocomplete.css")" type="text/css" media="all" />
    </head>
    <link rel="shortcut icon" href="/Content/Images/favicon.png" type="image/png" />
<body id="@ViewBag.CurrentPage">
    <div id="page" class="shell">

        <header>          
   
            @Html.Partial("_Header")
            
        </header>
        <section id="main" style="width: 100%; horiz-align: center; padding: 0 0">
            
            @RenderBody()
           @* <div id="right">
                        @RenderSection("Right", required: false)
                        @Html.Partial("_Sidebar")
                    </div>*@
        </section>
        <footer>
            @Html.Partial("_Footer")
        </footer>
    </div>   
    <!-- Place this tag after the last +1 button tag. -->
    <script type="text/javascript">
        window.___gcfg = { lang: 'vi' };

        (function () {
            var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
            po.src = 'https://apis.google.com/js/plusone.js';
            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
        })();
    </script>
    @RenderSection("Script", required: false)
</body>
</html>
<script type="text/javascript">
   window.onload = function () {
        if ('@User.Identity.IsAuthenticated' == 'True') {
            $.get("/Home/GetNotificationNumber", function (result) {
                //              document.getElementById("notificationCount").style.display = "block";
                //          document.getElementById("notificationCount").innerHTML = result;
                if (result > 0) {
                    document.getElementById("redNotification").style.display = "inline";
                    document.getElementById("redNotification").innerHTML = result;
                }


            });
        }
    };
</script>